export function configLayer() {
  return {
    name: "图层样式",
    layout: [],
    paint: [
      {
        label: "内圈颜色",
        prop: "circle-color",
        default: "rgb(26,252,105)",
        component: {
          name: "n-color-picker",
        },
      },
      {
        label: "内圈透明",
        prop: "circle-opacity",
        default: 0.8,
        type: "slider",
        component: {
          name: "n-slider",
          props: {
            min: 0,
            max: 1,
            step: 0.01,
          },
        },
      },
      {
        label: "内圈宽度",
        prop: "circle-radius",
        default: 8,
        component: {
          name: "n-input-number",
          props: {
            min: 1,
          },
        },
      },
      {
        label: "外圈颜色",
        prop: "circle-stroke-color",
        component: {
          name: "n-color-picker",
        },
        default: "rgb(0,0,0)",
      },
      {
        label: "外圈透明",
        prop: "circle-stroke-opacity",
        default: 0.8,
        type: "slider",
        component: {
          name: "n-slider",
          props: {
            min: 0,
            max: 1,
            step: 0.01,
          },
        },
      },
      {
        label: "外圈宽度",
        prop: "circle-stroke-width",
        component: {
          name: "n-input-number",
          props: {
            min: 1,
          },
        },
        default: 1,
      },
      {
        label: "虚化",
        prop: "circle-blur",
        component: {
          name: "n-input-number",
          props: {
            min: 0,
            max: 1,
            step: 0.1,
          },
        },
        default: 0,
      },
    ],
  };
}
